Amwal\Http\Controllers\OrderController A

Total Complexity 52
Dependencies 9
Dependents 1
Total lines 382
Lines of code 300
Logical lines of code 144
Comment lines 48
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
amwalwc_build_order_schema()
A
41 11 55
handle()
A
46 12 37
amwal_order_core()
S
47 6 34
amwalwc_complete_order()
S
47 5 35
amwalwc_get_or_create_order()
S
47 3 38
get_shipping_methods()
S
55 4 19
amwalwc_save_shipping_details()
S
52 3 22
order_creation_error_response()
S
49 1 34
__construct()
S
72 3 5
amwalwc_cancel_order()
S
69 1 6
get_order_by_amwal_cart_id()
S
69 1 7
check_transaction_status()
S
72 1 5
get_permission_callback()
S
81 1 3